package by.exposit.service;

import by.exposit.domain.Field;
import by.exposit.domain.Project;
import by.exposit.domain.User;

import java.util.List;

public interface ProjectService extends Remove{

	public void saveProject(Project project);

	public List<Project> projectList();

	public List<Project> projectFieldList(Field field);

	public List<Project> projectUserList(Long userId);

	public List<Project> projectUserWantToFinanceList(Long userId);



	public Project retrieveProject(Long projectId);

        public void changeState(Project project, float state);

        public void isWantToHelp(Long projectId);
    public List<Field> getFieldsInUsersProjects(User user);
}